/*
 * Itinerario.java
 *
 * Created on October 12, 2007, 10:45 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package petstore.model;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Entity class Itinerario
 * 
 * @author Tom Hayden
 */
@Entity
@Table(name = "itinerario")
@AttributeOverrides( {
    @AttributeOverride(name="id", column=@Column(name="cditinerario")),
    @AttributeOverride(name="description", column=@Column(name="dsitinerario")),
    @AttributeOverride(name="active", column=@Column(name="ativo"))
})
public class Itinerario extends CodeData {

    @Column(name = "vlritinerario")
    private Double valor;

    /** Creates a new instance of Itinerario */
    public Itinerario() {
    }

    public Double getValor() {
        return valor;
    }

    public void setValor(Double valor) {
        this.valor = valor;
    }

}
